version: '3'
services:
  {{ app }}:
    container_name: {{ app }}
    image: {{ image }}
    environment:
        JAVA_OPTS: -Duser.timezone=Asia/Shanghai -Djava.security.egd=file:/dev/./urandom -Dspring.datasource.druid.master.url=jdbc:mysql://10.0.0.31:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 -Dspring.datasource.druid.master.password=admin@123 -Dspring.redis.host=10.0.0.21
    ports:
      - 8080:8080